﻿<Window x:Class="CECB.Project.ProjectTypes"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          Title="ProjectTypes" Height="344" Width="448" AllowsTransparency="True" WindowStyle="None" Background="{x:Null}" WindowStartupLocation="CenterScreen"
        xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit" Loaded="Window_Loaded">
    <Grid Height="391" Width="648">
        <Rectangle Margin="0,20,233,105" Stroke="Black" RadiusY="19.5" RadiusX="19.5" StrokeThickness="3">
            <Rectangle.Effect>
                <DropShadowEffect Direction="330" BlurRadius="24" ShadowDepth="13" />
            </Rectangle.Effect>
            <Rectangle.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF878684" Offset="0" />
                    <GradientStop Color="White" Offset="1" />
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
        <Button Content="Insert" Height="32" HorizontalAlignment="Left" Margin="18,235,0,0" Name="button_ProjTypeInsert" VerticalAlignment="Top" Width="75" Click="button_ProjTypeInsert_Click" />
        <Button Content="Delete" Height="32" HorizontalAlignment="Left" Margin="211,235,0,0" Name="button_ProjTypeDelete" VerticalAlignment="Top" Width="75" Click="button_ProjTypeDelete_Click" />
        <Button Content="Update" Height="32" HorizontalAlignment="Left" Margin="112,235,0,0" Name="button_ProjTypeUpdate" VerticalAlignment="Top" Width="75" Click="button_ProjTypeUpdate_Click" />
        <Button Content="Close" Height="32" HorizontalAlignment="Right" Margin="0,20,266,0" Name="button_ProjTypeclose" VerticalAlignment="Top" Width="75" Click="button_ProjTypeclose_Click" />
        <WrapPanel Height="28" Background="Black" HorizontalAlignment="Left" Margin="18,185,0,0" Name="wrapPanel_UpdateTypeName" VerticalAlignment="Top" Width="364">
            <Label Content="Update Project Type" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label1" Width="173" />
            <TextBox Height="28" Name="textBox_EnterPrjType" Width="191" FontSize="16" TextChanged="textBox_EnterPrjType_TextChanged" />
        </WrapPanel>
        <WrapPanel Height="31" Background="Black" HorizontalAlignment="Left" Margin="18,140,0,0" Name="wrapPanel_SearchDetails" VerticalAlignment="Top" Width="364">
            <Label Content="Search Project Type" Height="28" Name="label_projCatName" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Width="173" />
            <toolkit:AutoCompleteBox Name="ProjTypeAutocompleteTextBox" Width="191" Height="33" ValueMemberPath="ptype_name" FilterMode="Contains" ItemsSource="{Binding}" TabIndex="1" IsTabStop="True" FontSize="16" Background="White" Opacity="1" UseLayoutRounding="False" BorderBrush="#FFF8F8F8" BorderThickness="2" SelectionChanged="ProjTypeAutocompleteTextBox_SelectionChanged" TextChanged="ProjTypeAutocompleteTextBox_TextChanged">
                <toolkit:AutoCompleteBox.ItemTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal">
                            <TextBlock Text="{Binding Path=ptype_name}" />
                            <TextBlock Text=" - " />
                            <TextBlock Text="{Binding Path=ptype_reference}" />
                        </StackPanel>
                    </DataTemplate>
                </toolkit:AutoCompleteBox.ItemTemplate>
            </toolkit:AutoCompleteBox>
            <Canvas Name="canvas1">
                <WrapPanel Orientation="Vertical"></WrapPanel>
            </Canvas>
        </WrapPanel>
        <WrapPanel Height="29" Background="Black" HorizontalAlignment="Left" Margin="18,97,0,0" Name="wrapPanel_EnterNewType" VerticalAlignment="Top" Width="364">
            <Label Content="Enter New Project Type" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label2" Width="169" />
            <Canvas Name="canvas2">
                <WrapPanel Orientation="Vertical" />
            </Canvas>
            <TextBox Height="32" Name="textBox_EntrNewProjType" Width="195" FontSize="16" TextChanged="textBox_EntrNewProjType_TextChanged" />
        </WrapPanel>
        <WrapPanel Background="Black" Height="28" HorizontalAlignment="Left" Margin="19,54,0,0" Name="wrapPanel1" VerticalAlignment="Top" Width="363">
            <Label Content="Project Type Reference" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="labelProjTypeRef" Width="168" />
            <Label Content="" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label_ProjTypeRefGeneratd" Width="195" />
        </WrapPanel>
    </Grid>
</Window>
